package cn.diancan.service;

import cn.diancan.exception.OutMsgException;
import cn.diancan.model.Color;

public interface ColorService {
    
    
    public boolean saveColor(String colorNumber,String colorName,String colorGroupNumber)throws OutMsgException,Exception;
    
    public Color findColorByColorNumber(String colorNumber)throws OutMsgException;
    
    public Color findColorById(Long id)throws OutMsgException;
    
    public Color findColorByColorName(String colorName)throws OutMsgException;
    
}
